package com.lc.springboot.service;

import com.github.pagehelper.PageInfo;
import com.lc.springboot.model.User;

import java.util.List;

/**
 * @author lengchuan <lishuijun1992@gmail.com>
 * @date 16-8-24
 */
public interface IUserService {

    public int addUser(User user);

    public User getUserById(int id);

    public void deleteUserById(int id);

    public int updateUser(User user);

    public List<User> getusers();

    public PageInfo<User> getUsersByPage(int page,int rows);
}
